﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ch4_
{
    class Father:People
    {
        string job;
        public Father(string name, string job) : base(name)
        {
            this.job = job;
        }
        public override void showSelf()
        {
            Console.WriteLine("name = {0}, job = {1}",
                name, job);
        }
    }
}
